//
//  HXNotifyDetailsModel.h
//  KD
//
//  Created by Hubery on 16/2/4.
//  Copyright © 2016年 ifly. All rights reserved.
//

#import <JSONModel/JSONModel.h>

@class HXHXNotifyDetailModel;
@class HXHXNotifyStateModel;

@protocol HXNotifyDetailsPictListModel
@end

@protocol HXNotifyDetailsQuestListModel
@end

@interface HXNotifyDetailsModel : JSONModel
@property (nonatomic, copy) NSString *code;
@property (nonatomic, copy) NSString *msg;
@property (nonatomic, strong) HXHXNotifyDetailModel<Optional> *details;
@property (nonatomic, strong) NSArray<HXNotifyDetailsPictListModel> *piclist;
@property (nonatomic, strong) NSArray<HXNotifyDetailsQuestListModel> *questlist;
@property (nonatomic,strong) HXHXNotifyStateModel <Optional> *state;
@end

/**    
 state =     {
 isCome = 1;
 isGo = 1;
 };
*/
@interface HXHXNotifyStateModel : JSONModel

@property (nonatomic,copy) NSString * isCome;
@property (nonatomic,copy) NSString * isGo;

@end

/**
 ID = 0;
 "MU_IsJoin" = "";
 "MU_ReplaceMan" = "";
 "MU_ReplaceManTel" = "";
 "MU_ReplyTime" = "";
 TypeCode = 1;*/
@interface HXHXNotifyDetailModel : JSONModel
@property (nonatomic, copy) NSString *Title;
@property (nonatomic, copy) NSString *Content;
@property (nonatomic, copy) NSString *Type;
@property (nonatomic, copy) NSString *Author;
@property (nonatomic, copy) NSString *SendDate;
@property (nonatomic, copy) NSString *EndDate;
@property (nonatomic, copy) NSString *OpenDate;
@property (nonatomic, copy) NSString *MessAdd;
@property (nonatomic, copy) NSString *MessX;
@property (nonatomic, copy) NSString *MessY;
@property (nonatomic, copy) NSString *MU_IsJoin;//是否回执
@property (nonatomic, copy) NSString *MU_ReplaceMan;
@property (nonatomic, copy) NSString *MU_ReplaceManTel;
@end

@interface HXNotifyDetailsPictListModel : JSONModel
@property (nonatomic, copy) NSString *ID;
@property (nonatomic, copy) NSString *Files_MessID;
@property (nonatomic, copy) NSString *Files_Name;
@property (nonatomic, copy) NSString *Files_Path;
@end

@interface HXNotifyDetailsQuestListModel : JSONModel
@property (nonatomic, copy) NSString *ID;
@property (nonatomic, copy) NSString *Que_MessID;
@property (nonatomic, copy) NSString *Que_Content;
@property (nonatomic, copy) NSString *Que_EndDate;
@end
